package com.wanghua.mall.product.openfeign;

import com.wanghua.common.dto.es.SkuEsModel;
import com.wanghua.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author wanghua
 * @create 2021-08-27 11:03
 */
@FeignClient("mall-search")
public interface SearchFeignClient {
    //上架商品
    @PostMapping("/search/essave/productUp")
    R productUp(@RequestBody List<SkuEsModel> skuEsModelList);
}
